package com.newdjk.okhttp.entity;

import java.util.List;

/*
 *  @项目名：  RetrofitRxjavaDemo
 *  @包名：    com.example.huhai.retrofitrxjavademo.bean
 *  @文件名:   Login
 *  @创建者:   huhai
 *  @创建时间:  2018/11/1 10:53
 *  @描述：
 */

public class Login {

    /**
     * Token : eyJpZCI6MTAwMTAsImlhdCI6MTU5NDE3Nzg3NCwiZXhwIjoxNjI1NzEzODc0LCJ0eXBlIjoyLCJjbGllbnQiOiJBUFAiLCJyZWdpc3RyYXRpb25JZCI6IjE0MGZlMWRhOWU4MzNhMTk2NmEiLCJhY2NvdW50SWQiOjEwMDEwfQ.Rvg7k0tMztVL3TB9192TQG8flEd2GCgeTIf8iyFD_DE
     * User : {"DoctorId":10010,"OrgId":[2],"DrType":1,"Position":1,"DoctorName":"余能添","Sex":1,"Mobile":"13622485183","Status":1,"RoleType":3}
     */

    private String Token;
    private UserBean User;

    public String getToken() {
        return Token;
    }

    public void setToken(String Token) {
        this.Token = Token;
    }

    public UserBean getUser() {
        return User;
    }

    public void setUser(UserBean User) {
        this.User = User;
    }

    public static class UserBean {
        /**
         * DoctorId : 10010
         * OrgId : [2]
         * DrType : 1
         * Position : 1
         * DoctorName : 余能添
         * Sex : 1
         * Mobile : 13622485183
         * Status : 1
         * RoleType : 3
         */

        private int DoctorId;
        private int DrType;
        private int Position;
        private String DoctorName;
        private int Sex;
        private String Mobile;
        private int Status;
        private int RoleType;
        private List<Integer> OrgId;

        public int getDoctorId() {
            return DoctorId;
        }

        public void setDoctorId(int DoctorId) {
            this.DoctorId = DoctorId;
        }

        public int getDrType() {
            return DrType;
        }

        public void setDrType(int DrType) {
            this.DrType = DrType;
        }

        public int getPosition() {
            return Position;
        }

        public void setPosition(int Position) {
            this.Position = Position;
        }

        public String getDoctorName() {
            return DoctorName;
        }

        public void setDoctorName(String DoctorName) {
            this.DoctorName = DoctorName;
        }

        public int getSex() {
            return Sex;
        }

        public void setSex(int Sex) {
            this.Sex = Sex;
        }

        public String getMobile() {
            return Mobile;
        }

        public void setMobile(String Mobile) {
            this.Mobile = Mobile;
        }

        public int getStatus() {
            return Status;
        }

        public void setStatus(int Status) {
            this.Status = Status;
        }

        public int getRoleType() {
            return RoleType;
        }

        public void setRoleType(int RoleType) {
            this.RoleType = RoleType;
        }

        public List<Integer> getOrgId() {
            return OrgId;
        }

        public void setOrgId(List<Integer> OrgId) {
            this.OrgId = OrgId;
        }

        @Override
        public String toString() {
            return "UserBean{" +
                    "DoctorId=" + DoctorId +
                    ", DrType=" + DrType +
                    ", Position=" + Position +
                    ", DoctorName='" + DoctorName + '\'' +
                    ", Sex=" + Sex +
                    ", Mobile='" + Mobile + '\'' +
                    ", Status=" + Status +
                    ", RoleType=" + RoleType +
                    ", OrgId=" + OrgId +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "Login{" +
                "Token='" + Token + '\'' +
                ", User=" + User +
                '}';
    }

}
